<?php
class EventStaff {
	public $username;
	public $visitorEventId;
	public $visitorEventStart;
	public $staffRole;
	public $confirmed;
	public $submitted;

	private function __construct() {}

	public static function create($username, $visitorEventId, $visitorEventStart, $staffRole, $confirmed, $submitted) {
		$self = new EventStaff();
		$self->username = $username;
		$self->visitorEventId = $visitorEventId;
		$self->visitorEventStart = $visitorEventStart;
		$self->staffRole = $staffRole;
		$self->submitted = $submitted;

		return $self;
	}

	public static function createFromUserInput($visitorEventId, $staffRole) {
		$self = new EventStaff();
		$self->visitorEventId = $visitorEventId;
		$self->staffRole = $staffRole;

		return $self;
	}
}